/**
 * api文件
 * @Author: yd_renyuanyu
 * @Date: 2021-11-12 10:48:10
 * @Version: 1.0.0
 */
import request from '@/lib/request';

/* ********** Upload ********** */
/**
 * --
 * @tips Upload
 * @tags [Upload]
 * @param {string} category
 * @param { object } aDataBody 参数 [Api_POST_CategoryVO]
  */
export function api_POST_Category (category, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/upload/${category}`,
    method: 'post',
    data: aDataBody
  });
}
